package com.atguigu.test.po;

/**
 * @author zp
 * @version 1.0
 * @description: 被覆盖方法类
 * @date 2022/12/6 19:23
 */
public class Replaced {
    public void replacedName(String name){
        System.out.println("我是初版："+name);
    }

    public void replacedName(String name,Integer age){
        System.out.println("我是初版：" + name + "年年："+ age);
    }
}
